<template>
  <div class="">
      <input type="text" :value="modelValue" @input="$emit('update:modelValue', $event.target.value)">
  </div>
  <!--update 更新的意思 -->
</template>

<script>
import { ref, reactive, toRefs } from "vue";
export default {
  props:{
    modelValue: String
  },
  setup() {},
};
</script>
<style lang="scss" scoped>
</style>